﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Statistics.aspx.cs" Inherits="Topics_Statistics" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="button_bar">
        <asp:Button ID="btnAdd" CssClass="common_button" runat="server" Text="添加" onclick="btnAdd_Click"  />
    </div>
    <div>
        <table class="data_list_table">
            <tr>
                <th>编号</th><th>标题</th><th>问题</th><th>创建时间</th><th>操作</th>
                </tr>
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <tr>
                             <td class="list_data_text"><%# Eval("TypeID") %></td>
                             <td class="list_data_text"><%# Eval("Question") %></td>
                             <td class="list_data_text"><%# Eval("Title") %></td>
                             <td class="list_data_text"><%# Eval("ctime") %></td>
                             <td class="list_data_text"> <a href='Statistics_Edit.aspx?typeid=<%# Eval("TypeID") %>&flag=edit '>
                                <img src="../images/bt_edit.gif" alt="修改" title="修改" /></a> <a href='Statistics_Edit.aspx?typeid=<%# Eval("TypeID") %>&flag=delete'
                                    onclick="return confirm('确定删除？')">
                                    <img src="../images/bt_del.gif" alt="删除" />
                                </a></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
    
        </table>
    </div>
    </form>
</body>
</html>
